import {Tabs} from 'antd';
import React from 'react';
import {PageContainer} from '@ant-design/pro-layout';
import CommentList from "@/components/CommentList";

const AllResourceCommentsList: React.FC<any> = (props) => {

  return (
    <PageContainer>
      <Tabs destroyInactiveTabPane={true}>
        <Tabs.TabPane forceRender tab='课程评价' key="first">
          <CommentList type='COURSE' level={1} isComment={false} title='课程标题' />
        </Tabs.TabPane>
      </Tabs>
    </PageContainer>
  );
};

export default AllResourceCommentsList;
